%tr[esr_file]
  %td= link_to l(esr_file.updated_at), esr_file, 'data-href-container' => 'tr'
  %td.currency= esr_file.esr_records.paid.count
  %td.currency= esr_file.esr_records.invalid.count
  %td.currency= esr_file.esr_records.missing.count
  %td.currency= currency_fmt(esr_file.esr_records.sum(:amount) || 0.0)
